home *** CD-ROM | disk | FTP | other *** search
/ Skunkware 5 / Skunkware 5.iso / include / Xm / WorldP.h < prev    next >
Encoding:
C/C++ Source or Header  |  1994-06-30  |  1.9 KB  |  83 lines

  1. /* 
  2.  * (c) Copyright 1989, 1990, 1991, 1992 OPEN SOFTWARE FOUNDATION, INC. 
  3.  * ALL RIGHTS RESERVED 
  4. */ 
  5. /* 
  6.  * Motif Release 1.2
  7. */ 
  8. /*   $RCSfile: WorldP.h,v $ $Revision: 10.1 $ $Date: 1994/02/03 15:55:22 $ */
  9. /*
  10. *  (c) Copyright 1989, 1990  DIGITAL EQUIPMENT CORPORATION, MAYNARD, MASS. */
  11. /*
  12. *  (c) Copyright 1987, 1988, 1989, 1990, 1991, 1992 HEWLETT-PACKARD COMPANY */
  13. /*
  14. *  (c) Copyright 1988 MASSACHUSETTS INSTITUTE OF TECHNOLOGY  */
  15. /*
  16. *  (c) Copyright 1988 MICROSOFT CORPORATION */
  17. #ifndef _XmWorldP_h
  18. #define _XmWorldP_h
  19.  
  20. #include <Xm/DesktopP.h>
  21.  
  22. #ifdef __cplusplus
  23. extern "C" {
  24. #endif
  25.  
  26.  
  27. #ifndef XmIsWorldObject
  28. #define XmIsWorldObject(w)    XtIsSubclass(w, xmWorldClass)
  29. #endif /* XmIsWorldObject */
  30.  
  31. typedef struct _XmWorldRec *XmWorldObject;
  32. typedef struct _XmWorldClassRec *XmWorldObjectClass;
  33. externalref WidgetClass xmWorldClass;
  34.  
  35.  
  36. typedef struct _XmWorldClassPart{
  37.     XtPointer        extension;
  38. }XmWorldClassPart, *XmWorldClassPartPtr;
  39.  
  40. typedef struct _XmWorldClassRec{
  41.     ObjectClassPart        object_class;
  42.     XmExtClassPart        ext_class;
  43.     XmDesktopClassPart         desktop_class;
  44.     XmWorldClassPart        world_class;
  45. }XmWorldClassRec;
  46.  
  47. typedef struct {
  48.     int                foo;
  49. } XmWorldPart, *XmWorldPartPtr;
  50.  
  51. externalref XmWorldClassRec     xmWorldClassRec;
  52.  
  53. typedef struct _XmWorldRec{
  54.     ObjectPart            object;
  55.     XmExtPart            ext;
  56.     XmDesktopPart        desktop;
  57.     XmWorldPart            world;
  58. }XmWorldRec;
  59.  
  60.  
  61. /********    Private Function Declarations    ********/
  62. #ifdef _NO_PROTO
  63.  
  64. extern XmWorldObject _XmGetWorldObject() ;
  65.  
  66. #else
  67.  
  68. extern XmWorldObject _XmGetWorldObject( 
  69.                         Widget shell,
  70.                         ArgList args,
  71.                         Cardinal *num_args) ;
  72.  
  73. #endif /* _NO_PROTO */
  74. /********    End Private Function Declarations    ********/
  75.  
  76.  
  77. #ifdef __cplusplus
  78. }  /* Close scope of 'extern "C"' declaration which encloses file. */
  79. #endif
  80.  
  81. #endif /* _XmWorldP_h */
  82. /* DON'T ADD STUFF AFTER THIS #endif */
  83.